"""
  Created by Amor on 2018-08-11
"""
import xadmin
from xadmin import views
from .models import VerifyCode

__author__ = '骆杨'


class BaseSetting(object):
    enable_themes = True
    use_bootswatch = True


class GlobalSetting(object):
    site_title = "VueShop后台管理系统"
    site_footer = "VueShop在线"
    menu_style = "accordion"


class VerifyCodeAdmin(object):
    pass


xadmin.site.register(VerifyCode, VerifyCodeAdmin)
xadmin.site.register(views.BaseAdminView, BaseSetting)
xadmin.site.register(views.CommAdminView, GlobalSetting)
